<?xml version="1.0" encoding="UTF-8"?>
<ui:composition
	xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
	xmlns:f="http://xmlns.jcp.org/jsf/core"
	xmlns:h="http://xmlns.jcp.org/jsf/html"
	xmlns:p="http://primefaces.org/ui"
	xmlns:c="http://xmlns.jcp.org/jsp/jstl/core"
	template="/WEB-INF/templates/business/default.xhtml"
>
	   
	<ui:define name="head">
		<h:outputStylesheet name="css/public/slideDownBox.css" />
		<h:outputStylesheet name="intro/introjs.css"></h:outputStylesheet>	
		<h:outputScript name="js/public/slideDownBox.js"></h:outputScript>			
		<h:outputScript name="intro/intro.js"></h:outputScript>	
		<script type="text/javascript">
			$(function () {
				var href = window.location.href;
				$('.item-listbox a').each(function () {
					var thisHref = $(this).attr('href');
					if (href.indexOf(thisHref) > -1 &amp;&amp; thisHref != '#') {
						$(this).css('background-image', 'url(#{resource['img/first/menu_hover.png']})');
						$(this).css('color', '#fff');
						$(this).css('font-weight', 'bold');
					}
				});
			});
			function checkUserAudited(auditResult){
				if(auditResult == '' || auditResult == 'false') {
					alert('您所登录的用户暂未审核或审核失败，不能发布公告！');
					return false;
				}
				else return true;
			}
		</script>		
		 <ui:insert name="buyer_head"></ui:insert> 
	</ui:define>

	<ui:define name="content">
		<div class="sub_wrap_none">

			<ui:include src="include/menu.xhtml" />
			<!--右侧-->
			<div class="my_right">
				<ui:insert name="buyer_content"></ui:insert>
			</div>
		</div>

	</ui:define>
</ui:composition>
